package com.xhwl.logistics.dto.query;

import com.xhwl.logistics.validate.time.ValidTimeRangeConstraint;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Setter
@Getter
@ValidTimeRangeConstraint(message = "时间区间的开始和结束时间，要么不输入，要么都输入")
public class VehicleAccessRecordExcelDTO extends SortDTO {

    @NotNull(message = "项目id不能为空，请输入项目id")
    private Integer projectId;

    private String parkingLotName;


    private String plateNumber;

    private String passageName;

    private String passType;


    private Date enterStartTime;

    private Date enterEndTime;


    private Boolean overnight;

}
